package com.interviewbackend.util;

import com.interviewbackend.client.InformationPreprocessingClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class GenerateSubQuestions {
    @Autowired
    private InformationPreprocessingClient gptClient;

    public String generateQuestionFromPrompt(String prompt) {
        return gptClient.chat(prompt); // 调用LLM生成问题
    }
}
